del G2Log.txt /F
del *.exe /F

del *.dcu /F /S
del *.local /F /S
del *.identcache /F /S

rmdir "engine/__history" /S /Q
rmdir "engine/dx9/__history" /S /Q
rmdir "engine/Mods/__history" /S /Q
rmdir "engine/Utils/__history" /S /Q

rmdir "source/__history" /S /Q
rmdir "source/editor/__history" /S /Q

rmdir "source/game/__history" /S /Q
rmdir "source/game/gui/__history" /S /Q
rmdir "source/game/scenes/__history" /S /Q
rmdir "source/game/scripting/__history" /S /Q
rmdir "source/game/player/__history" /S /Q
rmdir "source/game/world/__history" /S /Q

rmdir "source/shared/__history" /S /Q

rmdir "projects/__history" /S /Q
rmdir "projects/texpack_utility/__history /S /Q